/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.excel;

public class XlChartType {
	private final int value;

	/** xlColumnClustered **/
	public static final XlChartType ColumnClustered = new XlChartType(51);
	/** xlColumnStacked **/
	public static final XlChartType ColumnStacked = new XlChartType(52);
	/** xlColumnStacked100 **/
	public static final XlChartType ColumnStacked100 = new XlChartType(53);
	/** xl3DColumnClustered **/
	public static final XlChartType ThreeDColumnClustered = new XlChartType(54);
	/** xl3DColumnStacked **/
	public static final XlChartType ThreeDColumnStacked = new XlChartType(55);
	/** xl3DColumnStacked100 **/
	public static final XlChartType ThreeDColumnStacked100 = new XlChartType(56);
	/** xlBarClustered **/
	public static final XlChartType BarClustered = new XlChartType(57);
	/** xlBarStacked **/
	public static final XlChartType BarStacked = new XlChartType(58);
	/** xlBarStacked100 **/
	public static final XlChartType BarStacked100 = new XlChartType(59);
	/** xl3DBarClustered **/
	public static final XlChartType ThreeDBarClustered = new XlChartType(60);
	/** xl3DBarStacked **/
	public static final XlChartType ThreeDBarStacked = new XlChartType(61);
	/** xl3DBarStacked100 **/
	public static final XlChartType ThreeDBarStacked100 = new XlChartType(62);
	/** xlLineStacked **/
	public static final XlChartType LineStacked = new XlChartType(63);
	/** xlLineStacked100 **/
	public static final XlChartType LineStacked100 = new XlChartType(64);
	/** xlLineMarkers **/
	public static final XlChartType LineMarkers = new XlChartType(65);
	/** xlLineMarkersStacked **/
	public static final XlChartType LineMarkersStacked = new XlChartType(66);
	/** xlLineMarkersStacked100 **/
	public static final XlChartType LineMarkersStacked100 = new XlChartType(67);
	/** xlPieOfPie **/
	public static final XlChartType PieOfPie = new XlChartType(68);
	/** xlPieExploded **/
	public static final XlChartType PieExploded = new XlChartType(69);
	/** xl3DPieExploded **/
	public static final XlChartType ThreeDPieExploded = new XlChartType(70);
	/** xlBarOfPie **/
	public static final XlChartType BarOfPie = new XlChartType(71);
	/** xlXYScatterSmooth **/
	public static final XlChartType XYScatterSmooth = new XlChartType(72);
	/** xlXYScatterSmoothNoMarkers **/
	public static final XlChartType XYScatterSmoothNoMarkers = new XlChartType(73);
	/** xlXYScatterLines **/
	public static final XlChartType XYScatterLines = new XlChartType(74);
	/** xlXYScatterLinesNoMarkers **/
	public static final XlChartType XYScatterLinesNoMarkers = new XlChartType(75);
	/** xlAreaStacked **/
	public static final XlChartType AreaStacked = new XlChartType(76);
	/** xlAreaStacked100 **/
	public static final XlChartType AreaStacked100 = new XlChartType(77);
	/** xl3DAreaStacked **/
	public static final XlChartType ThreeDAreaStacked = new XlChartType(78);
	/** xl3DAreaStacked100 **/
	public static final XlChartType ThreeDAreaStacked100 = new XlChartType(79);
	/** xlDoughnutExploded **/
	public static final XlChartType DoughnutExploded = new XlChartType(80);
	/** xlRadarMarkers **/
	public static final XlChartType RadarMarkers = new XlChartType(81);
	/** xlRadarFilled **/
	public static final XlChartType RadarFilled = new XlChartType(82);
	/** xlSurface **/
	public static final XlChartType Surface = new XlChartType(83);
	/** xlSurfaceWireframe **/
	public static final XlChartType SurfaceWireframe = new XlChartType(84);
	/** xlSurfaceTopView **/
	public static final XlChartType SurfaceTopView = new XlChartType(85);
	/** xlSurfaceTopViewWireframe **/
	public static final XlChartType SurfaceTopViewWireframe = new XlChartType(86);
	/** xlBubble **/
	public static final XlChartType Bubble = new XlChartType(15);
	/** xlBubble3DEffect **/
	public static final XlChartType Bubble3DEffect = new XlChartType(87);
	/** xlStockHLC **/
	public static final XlChartType StockHLC = new XlChartType(88);
	/** xlStockOHLC **/
	public static final XlChartType StockOHLC = new XlChartType(89);
	/** xlStockVHLC **/
	public static final XlChartType StockVHLC = new XlChartType(90);
	/** xlStockVOHLC **/
	public static final XlChartType StockVOHLC = new XlChartType(91);
	/** xlCylinderColClustered **/
	public static final XlChartType CylinderColClustered = new XlChartType(92);
	/** xlCylinderColStacked **/
	public static final XlChartType CylinderColStacked = new XlChartType(93);
	/** xlCylinderColStacked100 **/
	public static final XlChartType CylinderColStacked100 = new XlChartType(94);
	/** xlCylinderBarClustered **/
	public static final XlChartType CylinderBarClustered = new XlChartType(95);
	/** xlCylinderBarStacked **/
	public static final XlChartType CylinderBarStacked = new XlChartType(96);
	/** xlCylinderBarStacked100 **/
	public static final XlChartType CylinderBarStacked100 = new XlChartType(97);
	/** xlCylinderCol **/
	public static final XlChartType CylinderCol = new XlChartType(98);
	/** xlConeColClustered **/
	public static final XlChartType ConeColClustered = new XlChartType(99);
	/** xlConeColStacked **/
	public static final XlChartType ConeColStacked = new XlChartType(100);
	/** xlConeColStacked100 **/
	public static final XlChartType ConeColStacked100 = new XlChartType(101);
	/** xlConeBarClustered **/
	public static final XlChartType ConeBarClustered = new XlChartType(102);
	/** xlConeBarStacked **/
	public static final XlChartType ConeBarStacked = new XlChartType(103);
	/** xlConeBarStacked100 **/
	public static final XlChartType ConeBarStacked100 = new XlChartType(104);
	/** xlConeCol **/
	public static final XlChartType ConeCol = new XlChartType(105);
	/** xlPyramidColClustered **/
	public static final XlChartType PyramidColClustered = new XlChartType(106);
	/** xlPyramidColStacked **/
	public static final XlChartType PyramidColStacked = new XlChartType(107);
	/** xlPyramidColStacked100 **/
	public static final XlChartType PyramidColStacked100 = new XlChartType(108);
	/** xlPyramidBarClustered **/
	public static final XlChartType PyramidBarClustered = new XlChartType(109);
	/** xlPyramidBarStacked **/
	public static final XlChartType PyramidBarStacked = new XlChartType(110);
	/** xlPyramidBarStacked100 **/
	public static final XlChartType PyramidBarStacked100 = new XlChartType(111);
	/** xlPyramidCol **/
	public static final XlChartType PyramidCol = new XlChartType(112);
	/** xl3DColumn **/
	public static final XlChartType ThreeDColumn = new XlChartType(-4100);
	/** xlLine **/
	public static final XlChartType Line = new XlChartType(4);
	/** xl3DLine **/
	public static final XlChartType ThreeDLine = new XlChartType(-4101);
	/** xl3DPie **/
	public static final XlChartType ThreeDPie = new XlChartType(-4102);
	/** xlPie **/
	public static final XlChartType Pie = new XlChartType(5);
	/** xlXYScatter **/
	public static final XlChartType XYScatter = new XlChartType(-4169);
	/** xl3DArea **/
	public static final XlChartType ThreeDArea = new XlChartType(-4098);
	/** xlArea **/
	public static final XlChartType Area = new XlChartType(1);
	/** xlDoughnut **/
	public static final XlChartType Doughnut = new XlChartType(-4120);
	/** xlRadar **/
	public static final XlChartType Radar = new XlChartType(-4151);


  private XlChartType(int value) { this.value = value; }
	public int getValue() { return this.value; }
	public static XlChartType valueOf(int value) { return new XlChartType(value); }
	public boolean equals(Object o) {
		if(o == null || o.getClass() != XlChartType.class) return false;
		return ((XlChartType)o).value == value;
	}
	public int hashCode() { return value; }

  public boolean isPieChart() {
    return equals(Pie) ||
           equals(PieExploded) ||
           equals(PieOfPie)  ||
           equals(ThreeDPie)  ||
           equals(ThreeDPieExploded);
  }

  public boolean isBarChart() {
    return equals(BarClustered) ||
           equals(BarStacked) ||
           equals(BarStacked100) ||
           equals(ThreeDBarClustered) ||
           equals(ThreeDBarStacked) ||
           equals(ThreeDBarStacked100);
  }

  public boolean isLineChart() {
    return equals(Line) ||
           equals(LineMarkers) ||
           equals(LineMarkersStacked) ||
           equals(LineMarkersStacked100) ||
           equals(LineStacked) ||
           equals(LineStacked100) ||
           equals(ThreeDLine);
  }

  public boolean isXYChart() {
    return equals(XYScatter) ||
           equals(XYScatterLines) ||
           equals(XYScatterLinesNoMarkers) ||
           equals(XYScatterSmooth) ||
           equals(XYScatterSmoothNoMarkers);
  }

  public boolean isAxisChart() {
    return isBarChart() ||
           isColumnChart() ||
           isLineChart();
  }

  public boolean isColumnChart() {
    return equals(XlChartType.ColumnClustered) ||
           equals(XlChartType.ColumnStacked)  ||
           equals(XlChartType.ColumnStacked100) ||
           equals(XlChartType.ThreeDColumn) ||
           equals(XlChartType.ThreeDColumnClustered) ||
           equals(XlChartType.ThreeDColumnStacked) ||
           equals(XlChartType.ThreeDColumnStacked100);
  }
}
